package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 课程不存在或未提交审核
 * @date 2025/2/17 18:14
 */
public class CourseNotExistOrNotSubmitException extends XCPlusBaseException {

    CourseNotExistOrNotSubmitException(String errMessage) {
        super(errMessage);
    }

    public static void cast() {
        throw new CourseNotExistOrNotSubmitException(ContentError.COURSE_NOT_EXIST_OR_NOT_SUBMIT.getErrMessage());
    }
}
